Skip to content

Conversation

rnro
Copy link
Collaborator

@rnro rnro commented Jan 7, 2025

Motivation:

If a proto file contains no services we include a comment indicating this is expected. At the moment this has two empty lines above it.

Modifications:

Store nil instead of an empty array of Descriptors into the FileDescription.

Result:

Only one empty line above the comment.

Motivation:

If a proto file contains no services we include a comment indicating
this is expected. At the moment this has two empty lines above it.

Modifications:

Store `nil` instead of an empty array of `Descriptor`s into the
`FileDescription`.

Result:

Only one empty line above the comment.
@rnro rnro requested a review from glbrntt January 7, 2025 11:21
@rnro rnro added the 🔨 semver/patch No public API change. label Jan 7, 2025
@glbrntt glbrntt merged commit 560c6c7 into grpc:main Jan 7, 2025
31 of 34 checks passed
@rnro rnro deleted the make_empty_files_more_descriptive branch January 7, 2025 13:24
@rnro rnro mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants